package com.scrx.ymg.service.util;

import java.util.List;
import java.util.Map;

import org.springframework.web.multipart.MultipartFile;

import com.scrx.ymg.entity.Commission;
import com.scrx.ymg.entity.IndexBanner;
import com.scrx.ymg.entity.User;

public interface IUtilService {
	/**
	 * 得到佣金分成设置
	 * @return
	 */
	public Commission getCommission();
	
	/**
	 * 更新佣金分成
	 * @param comm
	 * @return
	 */
	public String updateCommission(Commission comm);
    
	/**
	 * 绑定商家ID
	 * @param userID
	 * @return
	 */
	public String bindingMerchantID(int userID);
	
	 public String deleteIndexBanner(int id);

	  public String updateIndexBanner(IndexBanner indexbanner, MultipartFile bannerFile);

	  public List<IndexBanner> selectIndexBanner(IndexBanner indexbanner);

	  public String createIndexBanner(IndexBanner indexbanner, MultipartFile bannerFile);

}
